Inline Variables
danger
Due to performance reasons, inline variables have been deprecated in version 1.1.0
. Please use Kether Script to implement inline variables.
The plugin provided a variety of inline variables:
Variable List
{unlocked-
┗━ [category/total]} - Returns the number of entries a player has unlocked for the specified category or in total
{bar-
┗━ [category/total]} - Returns the progress bar for the number of entries a player has unlocked for the specified category or in total
{count-
┗━ [category/total]} - Returns the total number of entries for the specified category or in total
{percent-
┗━ [category/total]} - Returns the percentage of entries unlocked for the specified category or in total
{isunlocked-
┗━ [category]-[entry]} - Displays whether an entry for the specified category has been unlocked
Usage
Below are some examples of variable usage
main.yml
icon-B:
material: NAME_TAG
name: 'Total Unlock Progress'
lore:
- '{bar-total} &a{unlocked-total}&f/&a{count-total}'
The effect would look like this: